package com.itheima.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;
import java.util.List;

@Data
@Table(name = "t_web_config")
public class WebConfig {

  @Id
  private String uid;
  private String logo;
  private String name;
  private String summary;
  private String keyword;
  private String author;
  @Column(name = "record_num")
  private String recordNum;

  @Column(name = "start_comment")
  private String startComment;

  private long status;

  @Column(name = "create_time")
  private Date createTime;

  @Column(name = "update_time")
  private Date updateTime;

  private String title;
  @Column(name = "ali_pay")
  private String aliPay;

  @Column(name = "weixin_pay")
  private String weixinPay;
  private String github;
  private String gitee;

  @Column(name = "qq_number")
  private String qqNumber;

  @Column(name = "qq_group")
  private String qqGroup;

  @Column(name = "we_chat")
  private String weChat;
  private String email;

  @Column(name = "show_list")
  private String showList;

  @Column(name = "login_type_list")
  private String loginTypeList;

  @Transient
  private List<String> photoList;

}
